﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_DesignDetail
    /// </summary>
    [Table("PB_DesignDetail")]
    public partial class PB_DesignDetail
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 设计数量
        /// </summary>
        public double? Nums { get; set; }

        /// <summary>
        /// 设计发货数量
        /// </summary>
        public double? RealNums { get; set; }

        /// <summary>
        /// 已发数量
        /// </summary>
        public double? ShipmentNums { get; set; } 
        
        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 理论重量
        /// </summary>
        public double? Weight { get; set; }

        /// <summary>
        /// 清单版本号
        /// </summary>
        public int? VersionNumber { get; set; }

        /// <summary>
        /// 状态：0-基础；1-补加；2-减少
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 替换的物料ID
        /// </summary>
        public String ReplaceId { get; set; }


        /// <summary>
        /// 行号
        /// </summary>
        public String Slot { get; set; }

        /// <summary>
        /// 第一步
        /// </summary>
        public Double? OneStep { get; set; }

        /// <summary>
        /// 第二步
        /// </summary>
        public Double? TwoStep { get; set; }

        /// <summary>
        /// 第三步
        /// </summary>
        public Double? ThreeStep { get; set; }

        /// <summary>
        /// 第四步
        /// </summary>
        public Double? FourStep { get; set; }

        /// <summary>
        /// 第五步
        /// </summary>
        public Double? FiveStep { get; set; }

        /// <summary>
        /// 第六步
        /// </summary>
        public Double? SixStep { get; set; }

        /// <summary>
        /// 第七步
        /// </summary>
        public Double? SevenStep { get; set; }

        /// <summary>
        /// 第八步
        /// </summary>
        public Double? EightStep { get; set; }

        /// <summary>
        /// 第九步
        /// </summary>
        public Double? NineStep { get; set; }

        /// <summary>
        /// 第十步
        /// </summary>
        public Double? TenStep { get; set; }

        /// <summary>
        /// 第十一步
        /// </summary>
        public Double? ElevenStep { get; set; }

        /// <summary>
        /// 第十二步
        /// </summary>
        public Double? TwelveStep { get; set; }

        /// <summary>
        /// 第十三步
        /// </summary>
        public Double? ThirteenStep { get; set; }

        /// <summary>
        /// 第十四步
        /// </summary>
        public Double? FourteenStep { get; set; }

        /// <summary>
        /// 第十五步
        /// </summary>
        public Double? FifteenStep { get; set; }


        /// <summary>
        /// 第一步
        /// </summary>
        public Double? OneStepReady { get; set; }

        /// <summary>
        /// 第二步
        /// </summary>
        public Double? TwoStepReady { get; set; }

        /// <summary>
        /// 第三步
        /// </summary>
        public Double? ThreeStepReady { get; set; }

        /// <summary>
        /// 第四步
        /// </summary>
        public Double? FourStepReady { get; set; }

        /// <summary>
        /// 第五步
        /// </summary>
        public Double? FiveStepReady { get; set; }

        /// <summary>
        /// 第六步
        /// </summary>
        public Double? SixStepReady { get; set; }

        /// <summary>
        /// 第七步
        /// </summary>
        public Double? SevenStepReady { get; set; }

        /// <summary>
        /// 第八步
        /// </summary>
        public Double? EightStepReady { get; set; }

        /// <summary>
        /// 第九步
        /// </summary>
        public Double? NineStepReady { get; set; }

        /// <summary>
        /// 第十步
        /// </summary>
        public Double? TenStepReady { get; set; }

        /// <summary>
        /// 第十一步
        /// </summary>
        public Double? ElevenStepReady { get; set; }

        /// <summary>
        /// 第十二步
        /// </summary>
        public Double? TwelveStepReady { get; set; }

        /// <summary>
        /// 第十三步
        /// </summary>
        public Double? ThirteenStepReady { get; set; }

        /// <summary>
        /// 第十四步
        /// </summary>
        public Double? FourteenStepReady { get; set; }

        /// <summary>
        /// 第十五步
        /// </summary>
        public Double? FifteenStepReady { get; set; }

    }
}